package com.xcn.siteinfo;


import java.awt.*;
import java.util.*;

import javax.swing.*;

public class SiteInfo
{
	
	private JFrame frmXcurenetSystem;
	/**
	 * @wbp.nonvisual location=210,359
	 */
	//private final JPanel panel = new JPanel();
	
	/**
	 * Launch the application.
	 */
	public static void main ( String[] args )
	{
		EventQueue.invokeLater ( new Runnable ( )
		{
			public void run ( )
			{
				try
				{
					SiteInfo window = new SiteInfo ( );
					window.frmXcurenetSystem.setVisible ( true );
				}
				catch ( Exception e )
				{
					e.printStackTrace ( );
				}
			}
		} );
	}
	
	/**
	 * Create the application.
	 */
	public SiteInfo( )
	{
		initialize ( );
	}
	
	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize ( )
	{
		frmXcurenetSystem = new JFrame ( );
		frmXcurenetSystem.setLocale(Locale.KOREAN);
		frmXcurenetSystem.setTitle("Worldwide Leader in Content Security System - Xcurenet 1.0.0");
		frmXcurenetSystem.setIconImage ( Toolkit.getDefaultToolkit().getImage(SiteInfo.class.getResource("/com/lib/cf.jpg")) );
		frmXcurenetSystem.setBounds ( 100, 100, 849, 291 );
		frmXcurenetSystem.setDefaultCloseOperation ( JFrame.EXIT_ON_CLOSE );

		Font mainFont = new Font ( "굴림", Font.PLAIN, 12 );
		JMenuBar menuBar = new JMenuBar ( );
		menuBar.setBorderPainted(false);
		menuBar.setFont ( mainFont );
		frmXcurenetSystem.setJMenuBar ( menuBar );

		JMenu mnFile = new JMenu ( "파일(F)" );
		mnFile.setVerticalTextPosition(SwingConstants.BOTTOM);
		mnFile.setVerticalAlignment(SwingConstants.BOTTOM);
		mnFile.setBorderPainted(true);
		mnFile.setHorizontalAlignment(SwingConstants.TRAILING);
		mnFile.setFont( mainFont );
		mnFile.setIcon(null);
		menuBar.add ( mnFile );
		
		JMenuItem mntmNewMenuItem = new JMenuItem("열기(O)            ");
		mntmNewMenuItem.setBorderPainted(true);
		mntmNewMenuItem.setIcon(new ImageIcon(SiteInfo.class.getResource("/com/lib/cf.jpg")));
		mntmNewMenuItem.setSelectedIcon(null);
		mntmNewMenuItem.setFont( mainFont );
		mnFile.add(mntmNewMenuItem);

		JMenuItem mntmx = new JMenuItem("종료(X)");
		mntmx.setBorderPainted(true);
		mntmx.setFont( mainFont );
		mnFile.add(mntmx);
		
		JMenuItem mntmNewMenuItem_1 = new JMenuItem("설정");
		mntmNewMenuItem_1.setBorderPainted(true);
		mntmNewMenuItem_1.setFont( mainFont );
		mnFile.add(mntmNewMenuItem_1);

		JMenu mnNewMenu = new JMenu("편집(E)");
		mnNewMenu.setVerticalAlignment(SwingConstants.BOTTOM);
		mnNewMenu.setVerticalTextPosition(SwingConstants.BOTTOM);
		mnNewMenu.setFont( mainFont );
		menuBar.add(mnNewMenu);
		
		JMenuItem mntmNewMenuItem_2 = new JMenuItem("New ");
		mntmNewMenuItem_2.setFont( mainFont );
		mnNewMenu.add(mntmNewMenuItem_2);
		
		JMenu mnNewMenu_2 = new JMenu("도움말(H)");
		mnNewMenu_2.setVerticalTextPosition(SwingConstants.BOTTOM);
		mnNewMenu_2.setVerticalAlignment(SwingConstants.BOTTOM);
		mnNewMenu_2.setFont( mainFont );
		menuBar.add(mnNewMenu_2);
	}
	
}
